﻿<UserControl x:Class="Mnk.TBox.Plugins.ServicesCommander.Settings"
             xmlns:loc="clr-namespace:Mnk.TBox.Plugins.ServicesCommander.Code.Localization"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:Units="clr-namespace:Mnk.Library.WpfControls.Components.Units;assembly=Mnk.Library.WPFControls"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <DockPanel>
        <GroupBox Header="{loc:Tr Profile}" DockPanel.Dock="Top">
            <Units:ComboBoxUnit Name="Profile" ValueCaption="{Binding SelectedProfile}" ItemsSource="{Binding Profiles}" UnitType="Text" Title="{loc:Tr Profile}" />
        </GroupBox>
        <TabControl>
            <TabItem Header="{loc:Tr SelectWindowsServices}">
                <Units:CheckableListBoxUnit Name="Services" DataContext="{Binding ElementName=Profile, Path=SelectedValue}" ItemsSource="{Binding Services}" Title="{loc:Tr Services}" UnitType="DropDownList" />
            </TabItem>
        </TabControl>
    </DockPanel>
</UserControl>
